package com.xdcplus.web.mapper.sys;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.sys.SysDepartment;
import com.xdcplus.web.common.pojo.query.sys.SysDepartmentQuery;

import java.util.List;

/**
 * 部门(SysDepartment)表数据库访问层
 *
 * @author bullion.yan
 * @since 2024-06-18 14:00:40
 */
public interface SysDepartmentMapper extends IBaseMapper<SysDepartment> {

    /**
     * 查询部门(SysDepartment)
     *
     * @param sysDepartmentQuery 部门(SysDepartment)查询
     * @return {@link List<SysDepartment>}
     */
    List<SysDepartment> querySysDepartment(SysDepartmentQuery sysDepartmentQuery);
    SysDepartment querySysDepartmentByName(String name);

}
